package com.tienon.message.Test;

import java.io.IOException;

import org.junit.Test;

import com.ibm.mq.MQException;
import com.tienon.message.mq.MQSendAppMsgTask;
import com.tienon.message.util.SpringUtil;

public class TestMQSendAppMsgTask extends UnitTestEnv{

	@Test
	public void testSendMQ() throws MQException, IOException, InterruptedException{
		
		MQSendAppMsgTask task = SpringUtil.getBean(MQSendAppMsgTask.class);
		task.sendTenDatasToMQ();
		
	}
	
}
